const Router = require('koa-router')
const searchRouter = new Router({prefix: '/search'})

const {
    verifyAuth,
    verifyPermission
} = require('../middleware/auth.middleware')

const {
    search,
    remove
} = require('../controller/search.controller')


searchRouter.get('/', search)
// likeRouter.post('/:commentId/reply', verifyAuth, reply)
// likeRouter.patch('/:commentId', verifyAuth, verifyPermission, update)
// searchRouter.delete('/', verifyAuth, remove)
 
module.exports = searchRouter
// commentRouter.post('/reply', verifyAuth, reply)
